﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 乐观并发控制
{
    internal class House
    {
        public long Id { get; set; }
        public string Name { get; set; }
        //乐观并发控制：并发令牌
        public string? Owner { get; set; }
        //乐观并发控制：RowVersion 只能在UseSqlServer
        public byte[] RowVer { get; set; }

    }
}
